package lab02.Test07;

/**
 * Created by 李晓容 on 2017/10/21.
 */
public class Test {
    public static void main(String[] args) {
        Person X=new Person();
        X.name="姓名：李晓蓉";
        X.age=19;
        X.id="身份证号：513721199805156921";
        Student S=new Student();
        S.name="姓名：李晓蓉";
        S.age=19;
        S.id="513721199805156921";
        S.Sno="学号：1606101121";
        S.School="学校:四川旅游学院";
        System.out.println(X.age);
        System.out.println( X.name);
        System.out.println(X.id);
        System.out.println(S.School);
        System.out.println(S.Sno);

    }
}
